package demo2;

/**
 * Author：毕龙
 * Date: 2024/5/12 9:52
 */
public class TestPerson1 implements Test181 {

    private TestPerson person = new TestPerson();

    @Override
    public void split(int n) {
        for (int i = 2; i <= n/2; i++) {
            if(!person.isPrime(i) && !person.isPrime(n-i)){
                System.out.println(n+"="+i+"+"+(n-i));
            }
        }
    }
}
